package LOGISTICS.dto;

import com.google.gson.Gson;

public class MaterialTypeDto {//ML.materialTypeDto
	
	Integer materialTypeIndex;
	Integer partIndex;
	Integer maxQty;
	String supplyerPartNumber;
	Integer validity;
	String materialNumber;
	String materialName;
	
	public String getMaterialNumber() {
		return materialNumber;
	}
	public void setMaterialNumber(String masterialNumber) {
		this.materialNumber = masterialNumber;
	}
	public String getMaterialName() {
		return materialName;
	}
	public void setMaterialName(String materialName) {
		this.materialName = materialName;
	}
	public Integer getMaterialTypeIndex() {
		return materialTypeIndex;
	}
	public void setMaterialTypeIndex(Integer materialTypeIndex) {
		this.materialTypeIndex = materialTypeIndex;
	}
	public Integer getPartIndex() {
		return partIndex;
	}
	public void setPartIndex(Integer partIndex) {
		this.partIndex = partIndex;
	}
	public Integer getMaxQty() {
		return maxQty;
	}
	public void setMaxQty(Integer maxQty) {
		this.maxQty = maxQty;
	}
	public String getSupplyerPartNumber() {
		return supplyerPartNumber;
	}
	public void setSupplyerPartNumber(String supplyerPartNumber) {
		this.supplyerPartNumber = supplyerPartNumber;
	}
	public Integer getValidity() {
		return validity;
	}
	public void setValidity(Integer validity) {
		this.validity = validity;
	}
	
	public String toString() {
		return new Gson().toJson(this);
	}
}
